import { dynamicWrapper, createRoute } from 'utils/core';

const routesConfig = app => ({
  path: '/detail/order/:orderId',
  title: '订单详情',
  component: dynamicWrapper(app, [import('./model'), import('../../Good/GoodType/model'),
      import("../../Set/Shipper/model"), import("../OrderList/model"), import("../RefundList/model")],
    () => import('./components'))
});

export default app => createRoute(app, routesConfig);
